<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>管理员登陆</title>
		<script src='js/jquery.js' type="text/javascript"></script>
		<script type="text/javascript">
			$(function(){
				$("#submit_button2").bind("click",singleSignIn2);
			});
			function singleSignIn2(){
				var username2=$("#username2").val();
				var password2=$("#password2").val();

				$.ajax({
				    type: "POST",
				    url: "http://www.sxz.edu.cn/szuc/login.htm?username="+username2+"&password="+password2,
				    dataType: "jsonp",
				    success: function(data){
				    	eval(data);
				    }
				});
				
				return false;
			}
		</script>
	</head>
	<body>
		<h1>请登录</h1>
			<table class="table_item">
				<tbody>
					<tr>
						<th>
						</th>
						<td class="form_tip" colspan="2" style="height:35px;">
							<span id="result_tip2"></span>
						</td>
					</tr>
					<tr>
						<th>
							用户名：
						</th>
						<td>
							<input type="text" id="username2" class="input_short" value="">
						</td>
						<td class="form_tip">
						</td>
					</tr>
					<tr>
						<th>
							密码：
						</th>
						<td>
							<input type="password" id="password2" class="input_short" value="">
						</td>
						<td class="form_tip">
						</td>
					</tr>
					<tr>
						<th>
						</th>
						<td>
							<input type="submit" value="登    录" id="submit_button2" style="cursor:pointer"/>
						</td>
						<td>
						</td>
					</tr>
				</tbody>
			</table>
			<BR></BR>
	</body>
</html>